package com.codeanalysissys.backend.entity;

public enum Analysis implements TypeAnalysisEnum {
    AST (0, "AST"),
    CFG (1, "CFG"),
    CDG (2, "CDG"),
    DDG (3, "DDG");


    private final Integer type;
    private final String graph;

    Analysis(Integer type, String graph) {
        this.type = type;
        this.graph = graph;
    }

    @Override
    public Integer getType() {
        return type;
    }

    @Override
    public String getGraph() {
        return graph;
    }
}
